Annotate pango_glyph_string_num_glyphs as pure
authorMatthias Clasen <mclasen@redhat.com>
Tue, 14 Sep 2021 16:21:05 +0000 (12:21 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 14 Sep 2021 20:38:08 +0000 (16:38 -0400)
gsk/gskprivate.h

index 5d9f88c942dce693c20e414a7f74176fae6f5a12..77c0fe2bf6712fffbdb868560f1dc4caa3d83a3a 100644 (file)
@@ -8,7 +8,7 @@ G_BEGIN_DECLS
 
 void gsk_ensure_resources (void);
 
-int pango_glyph_string_num_glyphs (PangoGlyphString *glyphs);
+int pango_glyph_string_num_glyphs (PangoGlyphString *glyphs) G_GNUC_PURE;
 
 typedef struct _GskVulkanRender GskVulkanRender;
 typedef struct _GskVulkanRenderPass GskVulkanRenderPass;